package com.bidevalution.business.service;

import java.util.List;
import java.util.Map;

import com.bidevalution.dao.entity.BeParameterReference;
import com.bidevalution.dao.entity.BeSectionParameter;

public interface BeSectionParameterService {
    List<BeSectionParameter> selectList(String sectionId);

    void save(String sectionId, Map<String, String> paramIdMap, BeParameterReference beParameterReference);

    List<Map<String, Object>> selectGFSJTree(String sectionId, String parentId);

    List<Map<String, Object>> selectCSFLTree(String sectionId, String parentId);

    /**
     * 根据标段id和参数代码查询参数列表
     *
     * @param sectionId
     * @param array
     * @return
     * @throws Exception
     */
    List<BeSectionParameter> queryListByParamIds(String sectionId, String[] array) throws Exception;

    /**
     * 保存评标参数信息
     *
     * @param beSectionParameterList
     * @return
     * @throws Exception
     */
    boolean saveSectionParameter(List<BeSectionParameter> beSectionParameterList) throws Exception;
   
    int selectCountBySectionId(String sectionId,String paramType);
    /**
     * 根据类型查询tdAuditpara表的评标参数信息
     *
     * @param tdProjectId
     * @param paraType
     * @return
     */
    List<Map<String, Object>> queryTdAuditparaBytype(String tdProjectId, Integer paraType) throws Exception;
}
